#include "TokenNode.h"

#include <iostream>
#include <cassert>

TokenNode::TokenNode (Token data, TokenNode* left, TokenNode* right) 
	: data_(data), left_(left), right_(right)
{} 

Token const & TokenNode::getData() const
{
	return data_;
}

TokenNode const * TokenNode::getLeft() const
{
	return left_;
}

TokenNode const * TokenNode::getRight() const
{
	return right_;
}

